//
//  ZMYSettingHeadView.h
//  奇阅
//
//  Created by 奇阅科技 on 14-10-27.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZMYSettingHeadView : UICollectionReusableView

@property (weak, nonatomic) IBOutlet UIImageView *headImageView;
@property (weak, nonatomic) IBOutlet UILabel *nickNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *infoLabel;
@property (weak, nonatomic) IBOutlet UILabel *levelLabel;
@property (weak, nonatomic) IBOutlet UIButton *loginButton;
@property (weak, nonatomic) IBOutlet UILabel *hadBuyNumLabel;
@property (weak, nonatomic) IBOutlet UILabel *bookReviewNumLabel;
@property (weak, nonatomic) IBOutlet UILabel *collectionNumLabel;
@property (weak, nonatomic) IBOutlet UIImageView *baoyueImageView;


@property (nonatomic, copy) void(^handleRefreshEvent)(void);
@property (nonatomic,retain) UICollectionView* collectionView;
@property (nonatomic,retain) UIView* view;
- (void)stretchHeaderForTableView:(UICollectionView*)collectionView withView:(UIView*)view;
- (void)scrollViewDidScroll:(UIScrollView*)scrollView;
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView;
- (void)resizeView;
- (void)refreshPosition:(void(^)(void))headRefresh;


-(void)initInfoLabel;
@end
